package com.erp.system.service.impl;

import com.erp.system.domain.ToDo;
import com.erp.system.mapper.ToDoMapper;
import com.erp.system.service.IToDoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ToDoServiceImpl implements IToDoService {

    private ToDoMapper toDoMapper;

    @Autowired
    public void setToDoMapper(ToDoMapper toDoMapper) {
        this.toDoMapper = toDoMapper;
    }



    @Override
    public List<ToDo> queryAll() {
        return toDoMapper.queryAll();
    }
}
